<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Mail extends ADMIN_Controller  {
	
	function __construct(){
		parent::__construct();
		$this->load->model("mail_model");
	}
	
	public $dept = array(
			"",
			"BT",
			"ISE"
	);
	
	public $batch = array (
			0 => "",
			2004 => "2004",
			2005 => "2005",
			2006 => "2006",
			2007 => "2007",
			2008 => "2008",
			2009 => "2009",
			2010 => "2010",
			2011 => "2011",
			2012 => "2012",
			2013 => "2013"
	);
	
	public function index()
	{
		$this->render_page('admin_mail_view');
	}
	
	public function process() {
		$this->mail_model->send_mail();
	}
	
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */